﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace AdRotator.Common
{
    public class AdCulture
    {
        [XmlAttribute("Name")]
        /// <summary>
        /// The name of the culture, e.g. en-US
        /// </summary>
        public string Name { get; set; }

#if INCLUDE_SILVERLIGHT_ADS
        [XmlElement("PubCenterAd")]
        /// <summary>
        /// Listing of the probabilities for ads
        /// </summary>
        public List<AdRotator.Silverlight.AdProviders.PubCenterAd> PubCenterAds { get; set; }

        [XmlElement("AdDuplexAd")]
        /// <summary>
        /// Listing of the probabilities for ads
        /// </summary>
        public List<AdRotator.Silverlight.AdProviders.AdDuplexAd> AdDuplexAds { get; set; }
#endif
    }
}
